<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<div class="pageContent">
	<form method="post" action="${rootUrl}/system/ref-relation/${refRelation.id}" class="pageForm required-validate" onsubmit="return validateCallback(this, editDialogAjaxDone);">
		 <c:if test="${refRelation.id != 0 && refRelation.id != '' }"><input type="hidden" name="_method" value="put"></c:if> 
		<div class="pageFormContent" layoutH="56">
			<p>
				<label>被引用字段：</label>
				<input name="refRelation.refField" class="required" type="text" size="30" value="${refRelation.refField}" />
			</p>

			<p>
				<label>被引用表：</label>
				<input name="refRelation.refTable"  class="required" type="text" size="30" value="${refRelation.refTable}" />
			</p>
			<p>
				<label>数据引用字段：</label>
				<input name="refRelation.dataField"  class="required" type="text" size="30" value="${refRelation.dataField}" />
			</p>
			<p>
				<label>数据引用表：</label>
				<input name="refRelation.dataTable"  class="required" type="text" size="30" value="${refRelation.dataTable}" />
			</p>
			<p>
				<label>删除时，提示信息：</label>
				<input name="refRelation.delMsg"  type="text" size="30" value="${refRelation.delMsg}" />
			</p>
			<p></p>
			<p>
				<label>备注：</label>
				<textarea rows="5" cols="26" name="refRelation.remark" >${refRelation.remark}</textarea>
			</p>
			

		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
				</li>
			</ul>
		</div>
	</form>
</div>